import { Meta } from '@storybook/blocks';

import * as PageViewStories from '../stories/PageView.stories';

<Meta of={PageViewStories} />

# PageView

A scrollable list that works page by page.

## Example

```dart liveslice=PageView mockup=iPhone7
PageView(
  children: <Widget>[
    Container(
      color: Colors.pink,
      child: Center(
        child: Text('Page 1'),
      ),
    ),
    Container(
      color: Colors.cyan,
      child: Center(
        child: Text('Page 2'),
      ),
    ),
    Container(
      color: Colors.deepPurple,
      child: Center(
        child: Text('Page 3'),
      ),
    ),
  ],
)
```

## Related Links

- https://api.flutter.dev/flutter/widgets/PageView-class.html

